package cn.hk.vaccination.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 预约设置明细表（各种时间段放号数）
 * </p>
 *
 * @author xu
 * @since 2023-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_subscribe_detail")
@ApiModel(value="SubscribeDetail对象", description="预约设置明细表（各种时间段放号数）")
public class SubscribeDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "预约日期")
    private String subscribeDate;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "1上午 2 下午")
    private String apFlag;

    @ApiModelProperty(value = "1是 2否")
    private String closeExaFalg;

    @ApiModelProperty(value = "1同步至每周 2同步至其他开诊日 3仅执行一次")
    private String carryOutFlag;

    @ApiModelProperty(value = "预约设置主键")
    private Long subSettingId;

    @ApiModelProperty(value = "上午预约号")
    private Integer amValue;

    @ApiModelProperty(value = "下午预约号")
    private Integer pmValue;

    @ApiModelProperty(value = "时间段")
    private String soltTime;

    private Integer subValue;

    @ApiModelProperty(value = "可提前预约天数")
    @TableField(exist = false)
    private Integer advanceYyTime;

}
